home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 145
/
(Vol 145) Dec 21 2011.iso
/
Games
/
kill-the-dragons.swf
/
scripts
/
DefineSprite_365
/
frame_1
/
DoAction.as
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2011-12-21
|
184 b
|
7 lines
difX = _parent[PA]._x - this._x;
difY = _parent[PA]._y - this._y;
this._x += difX / 2;
this._y += difY / 2;
angle = Math.atan2(difX,difY) / 0.01745329;
this._rotation = - angle;